﻿using SD.Infrastructure.RepositoryBase;
using SlamDunk.MES.Domain.Entities.ConfigurationContext;
using System.Collections.Generic;

namespace SlamDunk.MES.Domain.IRepositories.Interfaces.ConfigurationContext
{
    /// <summary>
    /// 用户相关终端仓储接口
    /// </summary>
    public interface IUserRelatedTerminalRepository : IEntityRepository<UserRelatedTerminal>
    {
        #region # 获取用户相关终端列表 —— ICollection<UserRelatedTerminal> Find(string loginId)
        /// <summary>
        /// 获取用户相关终端列表
        /// </summary>
        /// <param name="loginId">用户账号</param>
        /// <returns>用户相关终端列表</returns>
        ICollection<UserRelatedTerminal> Find(string loginId);
        #endregion
    }
}
